const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  name: state => state.user.userInfo.username,
  companyName: state => state.user.userInfo.companyName,
  departmentName: state => state.user.userInfo.departmentName,
  userId: state => state.user.userInfo.id,
  avatar: state => state.user.userInfo.avatar,
  companyId: state => state.user.userInfo.companyId,
  subject:(state)=>state.subject
}
export default getters
